Component({
  options: {
    addGlobalClass: true, //引入外部样式
    multipleSlots: true
  },
  properties: {
    canSelectable:{
      type: String,
      value: '1'
    },
    addrInfo:{
      type:Object,
      value:{}
    },
    addrIndex:{
      type:Number,
      value:0
    },
    currentBizid:{
      type:String,
      value:''
    }
  },
  ready(){
    console.log(this.data.canSelectable)
  },
  data: {

  }, // 私有数据，可用于模版渲染
  methods:{
    handleSelect(e){
      console.log(e)
      console.log(this.data.addrInfo.bizid)
      this.triggerEvent('handleSelect', this.data.addrInfo)
    },
    handleEdit(){
      this.triggerEvent('handleEdit', this.data.addrInfo)
    }
  }

})